import Layout from '@/layout'

const fileRouter = {
  path: '/file',
  component: Layout,
  redirect: 'noRedirect',
  name: 'file',
  meta: { title: '文件管理', icon: 'el-icon-s-management' },
  children: [
    {
      path: 'uploaddownload',
      component: () => import('@/views/file/uploaddownload'),
      name: 'uploaddownload',
      meta: { title: '上传下载', icon: 'el-icon-user' }
    },
    {
      path: 'filestorage',
      component: () => import('@/views/file/filestorage'),
      name: 'filestorage',
      meta: { title: '文件仓储', icon: 'el-icon-user' }
    },
    {
      path: 'file-detail',
      component: () => import('@/views/file/fileDetail'),
      name: 'fileDetail',
      meta: { title: '文件仓储', icon: 'el-icon-user' }
    }
  ]
}
export default fileRouter
